package com.aaa.mapper;

import com.aaa.entity.PMS_Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PMS_ProductMapper extends BaseMapper<PMS_Product> {

    List<PMS_Product> pms_productNameLike(String name);

    List<PMS_Product> pms_productStateList(String brandName);

    int pms_productId(Integer id);

    int pms_productDeleteStr(String id);

    int pms_productUpdateState(String id);

    List<PMS_Product> pms_productState();

    int pms_productDeleteStrTime(String id);

    int pms_productUpdate(PMS_Product pms_product);

    PMS_Product selectPms(Integer id);

    void pmsproductupdatestate2(Integer aid);

    void pmsproductupdatestate3(Integer id);
}
